package com.gitee.jjnnzb.designpatterninspring.common.enums;

import lombok.Getter;
import lombok.RequiredArgsConstructor;

/**
 * @author Jjn
 * @since 2023/8/10 19:56
 */
@Getter
@RequiredArgsConstructor
public enum ChannelEnum {
    
    CHANNEL_ONE(1, "source-1"),
    
    CHANNEL_TWO(2, "source-2");
    
    private final int id;
    
    private final String channelName;
    
}
